import { Injectable } from '@angular/core';

@Injectable({
  providedIn: 'root'
})
export class ButtonService {
  printMsg(msg: string, times: number) {
    for (let i = 0; i < times; i++) {
      console.log(`${i}<=====>${msg}`);
    }
  }
  constructor() { }
}
